/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Control;

import javax.swing.JLabel;

/**
 *
 * @author Huynh Duy Khuong
 */
public class MyLabel extends JLabel {

    private Object tag;

    /** Gan gia tri cho Tag
     *
     * @param value Gia tri can gan
     */
    public void setTag(Object value) {
        tag = value;
    }

    /** Lay gia tri cua Tag
     *
     * @return Tag
     */
    public Object getTag() {
        return tag;
    }

    /**
     *
     */
    public MyLabel() {
        super();
    }

    /** Khoi tao MyLabel voi text s
     *
     * @param s Chuoi khoi tao cho MyLabel
     */
    public MyLabel(String s) {
        super(s);
    }
}
